﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace StatsData.Data.Migrations
{
    public partial class modify_date : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "DATE",
                table: "T_SHIPMENT",
                newName: "CURR_DATE");

            migrationBuilder.RenameColumn(
                name: "DATE",
                table: "T_QC_EXCEPTION",
                newName: "CURR_DATE");

            migrationBuilder.RenameColumn(
                name: "DATE",
                table: "T_QC",
                newName: "CURR_DATE");

            migrationBuilder.RenameColumn(
                name: "DATE",
                table: "T_PRODUCE_STATIS",
                newName: "CURR_DATE");

            migrationBuilder.RenameColumn(
                name: "DATE",
                table: "T_OWE",
                newName: "CURR_DATE");

            migrationBuilder.RenameColumn(
                name: "DATE",
                table: "T_CSI",
                newName: "CURR_DATE");

            migrationBuilder.RenameColumn(
                name: "DATE",
                table: "T_BAD",
                newName: "CURR_DATE");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "CURR_DATE",
                table: "T_SHIPMENT",
                newName: "DATE");

            migrationBuilder.RenameColumn(
                name: "CURR_DATE",
                table: "T_QC_EXCEPTION",
                newName: "DATE");

            migrationBuilder.RenameColumn(
                name: "CURR_DATE",
                table: "T_QC",
                newName: "DATE");

            migrationBuilder.RenameColumn(
                name: "CURR_DATE",
                table: "T_PRODUCE_STATIS",
                newName: "DATE");

            migrationBuilder.RenameColumn(
                name: "CURR_DATE",
                table: "T_OWE",
                newName: "DATE");

            migrationBuilder.RenameColumn(
                name: "CURR_DATE",
                table: "T_CSI",
                newName: "DATE");

            migrationBuilder.RenameColumn(
                name: "CURR_DATE",
                table: "T_BAD",
                newName: "DATE");
        }
    }
}
